package com.mpsc.singleton.demo.feign;

import com.mpsc.singleton.demo.common.BaseResponse;
import com.mpsc.singleton.demo.vo.RoleInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(name = "${mpsc-spring.name}", url = "${mpsc-spring.url}")
public interface MpscSpringService {

    @GetMapping("${mpsc-spring.select}")
    BaseResponse<RoleInfoVo> select(RoleInfoVo vo);
}
